package torres.map.tile;

/**
 * @author Torres
 * Represents mountain terrain, allows no ground entity to traverse.
 */
@SuppressWarnings("serial")
public class Mountain extends Terrain {

	private static final Mountain instance = new Mountain();
	
	
	/**
	 * Creates a new instance of Mountain. 
	 */
	private Mountain() {
		imageName = "mountain.png";
	}
	
	
	/**
	 * Returns the single instance of Mountain.
	 * @return The single instance of Mountain.
	 */
	public static Mountain getInstance() {
		
		return instance;
	}
	
	/**
	 * Tests to see if this Terrain is traversable.
	 * @return False
	 */
	public boolean isTraversable() {
		
		return false;
	}
	
	/**
	 * Returns the String representation of this Terrain.
	 * @return The String representation of this Terrain.
	 */
	public String toString() {
		
		return " ^ ";
	}
}
